﻿using System;
using System.IO;
using System.Threading.Tasks;
namespace Microsoft.Data.OData
{
    /// <summary>
    /// Interface for asynchronous OData response messages.
    /// </summary>
    public interface IODataResponseMessageAsync : IODataResponseMessage
    {
        /// <summary>Asynchronously get the stream backing for this message.</summary>
        /// <returns>The stream backing for this message.</returns>
        Task<Stream> GetStreamAsync();
    }
}
